<?php /* Smarty version Smarty-3.1.11, created on 2012-10-05 09:57:39
         compiled from "_templates\options\index.tpl" */ ?>
<?php /*%%SmartyHeaderCode:28076506e92f331f403-82161485%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '31ec70bdd25099a627c7fa06cb7fab3b0bca9377' => 
    array (
      0 => '_templates\\options\\index.tpl',
      1 => 1346227780,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '28076506e92f331f403-82161485',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'checked' => 0,
    'version' => 0,
    'ip_server' => 0,
    'port_gameserver' => 0,
    'port_loginserver' => 0,
    'ip_teamspeak' => 0,
    'port_teamspeak' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_506e92f343a369_12356775',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_506e92f343a369_12356775')) {function content_506e92f343a369_12356775($_smarty_tpl) {?><form method="post">
<article class="module width_full">
    <header><h3><?php echo $_smarty_tpl->getConfigVariable('title');?>
</h3></header>
    <table width="100%" cellpadding="3" cellspacing="1">
            <tbody>
                    <tr>
                            <th align="center" class="header"><a href="index.php?mod=options"><?php echo $_smarty_tpl->getConfigVariable('main');?>
</a></th>
                            <th align="center" class="header"><a href="index.php?mod=options&page=modules"><?php echo $_smarty_tpl->getConfigVariable('modules');?>
</a></th>
                            <th align="center" class="header"><a href="index.php?mod=options&page=misc"><?php echo $_smarty_tpl->getConfigVariable('misc');?>
</a></th>
                            <th align="center" class="header"><a href="index.php?mod=options&page=access"><?php echo $_smarty_tpl->getConfigVariable('access');?>
</a></th>
                    </tr>
            </tbody>
    </table>
        <table width="100%" cellpadding="3" cellspacing="1">
                <tbody>
                        <tr>
                                <th align="left" colspan="2" class="header"><?php echo $_smarty_tpl->getConfigVariable('update');?>
</th>
                        </tr>
						<tr>
                                <td class="body"><?php echo $_smarty_tpl->tpl_vars['checked']->value;?>
</td>
                                <td class="body"><?php echo $_smarty_tpl->tpl_vars['version']->value;?>
</td>
                        </tr>
				</tbody>
		</table>
		
			<script type="text/javascript">

			var xhr;
			var loadUrl = function(url) {
            $(document).ready(function() {
                $("#backup").modal({close:false});
            });
				if ( xhr && xhr.readyState > 0 && xhr.readyState < 4 ) {
					// there is a request in the pipe, abort
					xhr.abort();    
				}
				xhr = $.get(url, function() {
					$.modal.close();
					$("#done").modal();
				});
			};
			</script>
		
        <table width="100%" cellpadding="3" cellspacing="1">
                <tbody>
                        <tr>
                                <th align="left" colspan="3" class="header"><?php echo $_smarty_tpl->getConfigVariable('backup');?>
</th>
                        </tr>
						<tr>
                                <td>
									<a href="#" onclick="loadUrl('index.php?mod=options&backup=game')"><input type="button" class="alt_btn" value="<?php echo $_smarty_tpl->getConfigVariable('gameserver');?>
" /></a>
									<a href="#" onclick="loadUrl('index.php?mod=options&backup=login')"><input type="button" class="alt_btn" value="<?php echo $_smarty_tpl->getConfigVariable('loginserver');?>
" /></a>
									<a href="#" onclick="loadUrl('index.php?mod=options&backup=cms')"><input type="button" class="alt_btn" value="<?php echo $_smarty_tpl->getConfigVariable('cms');?>
" /></a>
								</td>
						</tr>
				</tbody>
		</table>
        <table width="100%" cellpadding="3" cellspacing="1">
                <tbody>
                        <tr>
                                <th align="left" colspan="2" class="header"><?php echo $_smarty_tpl->getConfigVariable('main');?>
</th>
                        </tr>

                        <tr>
                                <td class="body"><?php echo $_smarty_tpl->getConfigVariable('ip_server');?>
</td>
                                <td class="body"><input type="text" name="ip_server" value="<?php echo $_smarty_tpl->tpl_vars['ip_server']->value;?>
"/></td>
                        </tr>
                        <tr>
                                <td class="body"><?php echo $_smarty_tpl->getConfigVariable('game');?>
</td>
                                <td class="body"><input type="text" name="game" value="<?php echo $_smarty_tpl->tpl_vars['port_gameserver']->value;?>
"/></td>
                        </tr>
                        <tr>
                                <td class="body"><?php echo $_smarty_tpl->getConfigVariable('login');?>
</td>
                                <td class="body"><input type="text" name="login" value="<?php echo $_smarty_tpl->tpl_vars['port_loginserver']->value;?>
"/></td>
                        </tr>
                        <tr>
                                <td class="body"><?php echo $_smarty_tpl->getConfigVariable('teamspeak');?>
</td>
                                <td class="body"><input type="text" name="teamspeak" value="<?php echo $_smarty_tpl->tpl_vars['ip_teamspeak']->value;?>
"/></td>
                        </tr>
                        <tr>
                                <td class="body"><?php echo $_smarty_tpl->getConfigVariable('teamspeak_port');?>
</td>
                                <td class="body"><input type="text" name="teamspeak_port" value="<?php echo $_smarty_tpl->tpl_vars['port_teamspeak']->value;?>
"/></td>
                        </tr>

                </tbody>
        </table>
        <footer>
            <div class="submit_link">
                <input type="submit" value="<?php echo $_smarty_tpl->getConfigVariable('submit');?>
"  name="submit" class="alt_btn">
            </div>
        </footer>
</article>
</form>
<div class="modal" id="edited">
        <h3><?php echo $_smarty_tpl->getConfigVariable('edited');?>
</h3>
	<p><?php echo $_smarty_tpl->getConfigVariable('success_edited');?>
</p>
</div>
<div class="modal" id="backup">
        <h3><?php echo $_smarty_tpl->getConfigVariable('backup');?>
</h3>
	<p><img src="http://jqueryui.com/demos/autocomplete/images/ui-anim_basic_16x16.gif" style="float:left;"/>&nbsp;&nbsp;<?php echo $_smarty_tpl->getConfigVariable('backup_text');?>
</p>
</div>
<div class="modal" id="done">
        <h3><?php echo $_smarty_tpl->getConfigVariable('done');?>
</h3>
	<p><?php echo $_smarty_tpl->getConfigVariable('backup_done');?>
</p>
</div><?php }} ?>